<html>
<head><meta charset="utf-8"><title>config.toml settings doesn&#x27;t seem to do anything · t-compiler/help · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/index.html">t-compiler/help</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/config.2Etoml.20settings.20doesn&#x27;t.20seem.20to.20do.20anything.html">config.toml settings doesn&#x27;t seem to do anything</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="225447661"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/config.toml%20settings%20doesn%27t%20seem%20to%20do%20anything/near/225447661" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Henry Boisdequin <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/config.2Etoml.20settings.20doesn&#x27;t.20seem.20to.20do.20anything.html#225447661">(Feb 07 2021 at 06:10)</a>:</h4>
<p>In my <code>config.toml</code> I set <code>debug = true</code> because I wanted to see the line numbers of where the errors are emitted. When I ran the test using <code>./x.py test PATH --bless</code>, I didn't get the debug output but a normal error. How do I fix this?</p>



<a name="225464851"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/config.toml%20settings%20doesn%27t%20seem%20to%20do%20anything/near/225464851" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/config.2Etoml.20settings.20doesn&#x27;t.20seem.20to.20do.20anything.html#225464851">(Feb 07 2021 at 13:46)</a>:</h4>
<p>I'm not sure what you mean by debug output. What do you expect to see?</p>



<a name="225495842"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/config.toml%20settings%20doesn%27t%20seem%20to%20do%20anything/near/225495842" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Henry Boisdequin <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/config.2Etoml.20settings.20doesn&#x27;t.20seem.20to.20do.20anything.html#225495842">(Feb 08 2021 at 01:43)</a>:</h4>
<p>In this section: <a href="https://rustc-dev-guide.rust-lang.org/compiler-debugging.html#getting-a-backtrace-for-errors">https://rustc-dev-guide.rust-lang.org/compiler-debugging.html#getting-a-backtrace-for-errors</a>. They are able to see the line numbers where the errors are emitted. Example:</p>
<div class="codehilite"><pre><span></span><code>stack backtrace:
  (~~~ IRRELEVANT PART OF BACKTRACE REMOVED BY ME ~~~)
   7: rustc::traits::error_reporting::&lt;impl rustc::infer::InferCtxt&lt;&#39;a, &#39;tcx&gt;&gt;
             ::report_selection_error
             at /home/user/rust/compiler/rustc_middle/src/traits/error_reporting.rs:823
   8: rustc::traits::error_reporting::&lt;impl rustc::infer::InferCtxt&lt;&#39;a, &#39;tcx&gt;&gt;
             ::report_fulfillment_errors
             at /home/user/rust/compiler/rustc_middle/src/traits/error_reporting.rs:160
             at /home/user/rust/compiler/rustc_middle/src/traits/error_reporting.rs:112
   9: rustc_typeck::check::FnCtxt::select_obligations_where_possible
             at /home/user/rust/compiler/rustc_typeck/src/check/mod.rs:2192
  (~~~ IRRELEVANT PART OF BACKTRACE REMOVED BY ME ~~~)
  36: rustc_driver::run_compiler
             at /home/user/rust/compiler/rustc_driver/src/lib.rs:253
</code></pre></div>
<p>I set <code>debug = true</code> in my <code>config.toml</code> and ran it yet I didn't have the line numbers just the normal <code>RUST_BACKTRACE=1</code> type of error.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>